<%@ Page language="c#" Codebehind="UserProfile.aspx.cs" AutoEventWireup="false" Inherits="FlexWiki.Web.UserProfile" %>
<%@ Register TagPrefix="Forums" Namespace="AspNetForums.Controls" Assembly="AspNetForums.Controls" %>
<HTML>
  <HEAD>
    <Forums:Style runat="server" ID="Style2" />
    <title>Channel9 Wiki</title>
   </HEAD>
	<body>
		<form id="LogonForm" method="post" runat="server">
			<Forums:PageTemplate ID="template" Runat="server">		
				<ContentTemplate>
					<asp:Panel id="screenModePanel" runat="server" Width="100%" BackColor="#8080FF">
						<asp:label id="screenModeLabel" runat="server">Screen Mode</asp:label>
					</asp:Panel>
					<table>
						<tr>
						<tr>
						<tr>
							<td><asp:label id="userIDLabel" runat="server">User ID:</asp:label></td>
							<td><asp:textbox id="userIDTextBox" runat="server" ReadOnly="True"></asp:textbox></td>
						</tr>
						<tr>
							<td><asp:label id="userNameLabel" runat="server">Name:</asp:label></td>
							<td><asp:textbox id="userNameTextBox" runat="server"></asp:textbox></td>
						</tr>
						<tr>
							<td><asp:label id="userEmailLabel" runat="server">Email:</asp:label></td>
							<td><asp:textbox id="userEmailTextBox" runat="server"></asp:textbox><asp:requiredfieldvalidator id="emailRequiredFieldValidator" runat="server" ErrorMessage="*" Display="Static"
									ControlToValidate="UserEmailTextBox"></asp:requiredfieldvalidator><asp:regularexpressionvalidator id="RegexValidator" runat="server" ErrorMessage="Invalid format for e-mail address."
									Display="Static" ControlToValidate="UserEmailTextBox" EnableClientScript="false" ValidationExpression="^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$"></asp:regularexpressionvalidator></td>
						</tr>
						<tr>
							<td><asp:label id="userPasswordLabel" runat="server">Password:</asp:label></td>
							<td><asp:textbox id="userPasswordTextBox" runat="server" TextMode="Password"></asp:textbox><asp:requiredfieldvalidator id="passwordRequiredFieldValidator" runat="server" ErrorMessage="*" Display="Static"
									ControlToValidate="UserPasswordTextBox"></asp:requiredfieldvalidator></td>
						</tr>
						<tr>
							<td><asp:label id="confirmPasswordLabel" runat="server">Confirm Password:</asp:label></td>
							<td><asp:textbox id="confirmPasswordTextBox" runat="server" TextMode="Password"></asp:textbox><asp:requiredfieldvalidator id="confirmPasswordRequiredFieldValidator" runat="server" ErrorMessage="*" Display="Static"
									ControlToValidate="confirmPasswordTextBox"></asp:requiredfieldvalidator></td>
						</tr>
						<tr>
							<td></td>
							<td>
								<asp:button Text="Save" runat="server" id="saveButton" />
								<asp:button Text="Delete" runat="server" id="deleteButton" />
								<asp:button Text="Create" runat="server" id="createButton" />
								<asp:button Text="Reset Password" runat="server" id="resetPasswordButton" />
							</td>
						</tr>
					</table>
					<asp:Label id="Msg" ForeColor="red" Font-Name="Verdana" Font-Size="10" runat="server" />
				</ContentTemplate>
			</Forums:PageTemplate>
		</form>
	</body>
</HTML>
